package com.springboot.service;

import java.util.List;

import com.springboot.entity.News;

public interface NewsService
{
    void save(News news);

    News getNewsById(Long id);

    List<News> findAll(News news);

    void deleteNews(Long id);
    
    void deleteNes(List<Long> ids);
}
